package cn.stylefeng.guns.core.util;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 计算租赁费用专用类
 */
public class ComputationCost {

    public void getMain(){
        System.out.println("注解启动类！！！！！！！！！");
    }


    /**
     * 计算租车费用
     * @param money
     * @return
     */
    public static Integer getCost(Integer money){
        if (money == null || money == 0) return 0;
        money++;
        return money;
    }
}
